﻿using EPiServer;

namespace SocialPack.modules.SocialPack.Widgets.Facebook
{
    public partial class ActivityFeed : UserControlBase
    {
        public ActivityFeed()
        {
            this.CountryCode = "en_US";
            this.Width = 300;
            this.Height = 300;
            this.ShowHeader = true;
        }

        public new string Site { get; set; }
        public int Width { get; set; }
        public int Height { get; set; }
        public bool ShowHeader { get; set; }
        public bool ShowRecommendations { get; set; }

        /// <summary>
        /// The maximum age of a URL to show in the plugin. The default is 0 (we don’t take age into account). Otherwise the valid values are 1-180, which specifies the number of days. For example, if you specify '7' the plugin will only show URLs which were created in the past week.
        /// </summary>
        public int MaxAge { get; set; }

        public string CountryCode { get; set; }
    }
}